Skip to main content

calcLinearFee

calcLinearFee( tx: Tx ): bigint

given a transaction, calculates the minFee based on the size and the protocol parameters

minFee != fee

the fee calculated by this method does not include the execution costs of eventual plutus scripts